<%--
  Created by IntelliJ IDEA.
  User: ZhuChunXiao
  Date: 2017/6/5
  Time: 17:09
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %> <%@ page isELIgnored="false" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<%
  String path = request.getContextPath();
  String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort() + path + "/";
%>
<form id="form_order_input" class="panel-body form-horizontal form-padding">

  <div class="form-group">
    <label class="col-md-2 control-label">订单编号<i class="fa fa-asterisk txt-color-red"></i></label>
    <div class="col-md-6">
      <input disabled class="form-control" placeholder="请输入订单编号" value="${order.orderNo}">
    </div>
  </div>

  <div class="form-group div-Hidden">
    <label class="col-md-2 control-label">订单完成时间<i class="fa fa-asterisk txt-color-red"></i></label>
    <div class="col-md-6">
      <div class="input-group date">
        <input disabled type="text" class="form-control" id="finishDate" name="finishDate" placeholder="请选择订单下达时间"
               value=<fmt:formatDate pattern="yyyy-MM-dd" value="${order.finishDate}" /> >
        <span class="input-group-addon"><i class="ti-calendar"></i></span>
      </div>
    </div>
  </div>

  <div class="form-group">
    <label class="col-md-2 control-label">完成情况说明</label>
    <div class="col-md-6">
      <input disabled type="text" id="finishText" name="finishText" class="form-control" placeholder="请输入完成情况说明" value="${order.finishText}">
    </div>
  </div>

  <div class="form-group">
    <label class="col-md-2 control-label">提交人</label>
    <div class="col-md-2">
      <p class="form-control-static">${order.creater.name}</p>
    </div>
    <label class="col-md-2 control-label">提交日期</label>
    <div class="col-md-2">
      <p class="form-control-static"><fmt:formatDate pattern="yyyy-MM-dd" value="${order.createTime}" /></p>
    </div>
  </div>
</form>
<!--===================================================-->
<!-- END BASIC FORM ELEMENTS -->

<div class="panel-footer">
  <a class="btn btn-default" id="apply-re-common8" href="javascript:void(0)">
    <i class="fa fa-lg fa-mail-reply"></i> 返回视图
  </a>
</div>

<script>

  //返回视图
  $("#apply-re-common8").click(returnToHashUrl);

</script>